package behavioral.pattern.template.example;

/**
 * @Autor: yuanyongan
 * @Description:
 * @Date 2023/1/9 16:43
 */
public abstract class TemplateExample {
    public final void run(){
        method1();
        method2();
        method3();
    }
    void method1(){
        //.. 父类实现，子类可覆盖
    }
    void method2(){
        //..同上
    }
    abstract void method3();
}
